
# Adds a library called MyClass (libMyClass.a under Linux) from the source file MyClass.cpp
ADD_LIBRARY( MyClass MyClass.cpp )

# Make sure the compiler can find include files from our MyClass library.
INCLUDE_DIRECTORIES(/home/yoan/Programming/workspace_eclipse/JeuDeLaVie/src/MyClass)

# Add binary called "JeuDeLaVie" that is built from the source file "JeuDeLaVie.cpp".
# Note : the extension is automatically found.
ADD_EXECUTABLE( JeuDeLaVie JeuDeLaVie.cpp)

# Link the executable to the MyClass library.
TARGET_LINK_LIBRARIES( JeuDeLaVie MyClass )

